package com.itheima.pojo;

/**
 * @author huangbin
 * @date 2022/6/6 14:35
 * 门店基本类
 */
public class Score {
    /**
     * id
     */
    private Integer id;
    /**
     * 门店名
     */
    private String name;

    /**
     * 门店地址
     */
    private String address;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 修改时间
     */
    private String updateTime;

    /**
     * 店铺类型
     * 0普通店 1旗舰店
     */
    private Integer flagship;

    public Score() {
    }

    public Score(Integer id, String name, String address, String createTime, String updateTime, Integer flagship) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.flagship = flagship;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getFlagship() {
        return flagship;
    }

    public void setFlagship(Integer flagship) {
        this.flagship = flagship;
    }

    @Override
    public String toString() {
        return "Score{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", flagship=" + flagship +
                '}';
    }
}
